<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>{:sysconfig('site','site_name')}</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <!--[if lt IE 9]>
    <script src="https://cdn.staticfile.org/html5shiv/r29/html5.min.js"></script>
    <script src="https://cdn.staticfile.org/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
    <link rel="stylesheet" href="__STATIC__/admin/css/public.css?v={$version}" media="all">
    <script>
        window.CONFIG = {
            ADMIN: "{$adminModuleName|default='admin'}",
            CONTROLLER_JS_PATH: "{$thisControllerJsPath|default=''}",
            ACTION: "{$thisAction|default=''}",
            AUTOLOAD_JS: "{$autoloadJs|default='false'}",
            IS_SUPER_ADMIN: "{$isSuperAdmin|default='false'}",
            VERSION: "{$version|default='1.0.0'}",
            CSRF_TOKEN: '{:token()}',
        };
    </script>
    <script src="__STATIC__/plugs/xm-select-v1.2.4/dist/xm-select.js?v={$version}" charset="utf-8"></script>
    <script src="__STATIC__/plugs/layui-v2.5.6/layui.all.js?v={$version}" charset="utf-8"></script>
    <script src="__STATIC__/plugs/require-2.3.6/require.js?v={$version}" ></script>
    <script src="__STATIC__/config-admin.js?v={$version}" charset="utf-8"></script>
</head>
<body>
	<!DOCTYPE html>
	<html lang="en">
	<head>
		<meta charset="UTF-8">
		<meta http-equiv="X-UA-Compatible" content="IE=edge">
		<meta name="viewport" content="width=device-width, initial-scale=1.0">
		<title>Document</title>
	</head>
	<body>
		
	<div class="layuimini-container">
		<div id="app-form" class="layui-form layuimini-form">
			<div class="layui-form-item">
				<div class="layui-input-block layuimini-upload">
					<input name="excel" class="layui-input layui-col-xs6" lay-verify="required" lay-reqtext="请上传文件" placeholder="请上传文件" value="">
					<div class="layuimini-upload-btn">
						<span><a class="layui-btn" data-upload="excel" data-upload-number="one" data-upload-exts="xlsx"><i class="fa fa-upload"></i> 上传文件</a></span>
						
					</div>
				</div>
				<div class="layui-input-block">
					<br>
					*请按照模板填好批量上传 <a href="{:url('crm/tpl/customerImport')}" style="color:brown">点击下载模板</a>
				</div>
			</div>
			<div class="layui-form-item">
				<label class="layui-form-label">归属员工：</label>
				<div class="layui-input-block">
					<div id="owner-list"></div>
				</div>
			</div>
			<div class="layui-form-item">
				<label class="layui-form-label">分配方式：</label>
				<div class="layui-input-block">
					<input type="radio" name="status" value="1"  title="平均分配" class="" checked>
					<input type="radio" name="status" value="2"  title="随机分配" class="">
				</div>
			</div>
			<div class="layui-form-item">
				<div class="layui-input-block">
					<button class="layui-btn" lay-submit lay-filter="import">立即提交</button>
					<button type="reset" class="layui-btn layui-btn-primary">重置</button>
				</div>
			</div>
		</div>
	</div>
	
	
	<script>
		
		var demo1 = xmSelect.render({
				el: '#owner-list',
				language: 'zn',
				data: JSON.parse('{:json_encode($customerOwnerList)}')
			})
			
	</script>	
	</body>
	</html>
</body>
</html>